/*
 * @Author: your name
 * @Date: 2020-09-18 10:44:28
 * @LastEditTime: 2020-10-05 09:59:20
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \egg-RESTfulAPI\app\model\RoadRealTime.js
 */
module.exports = app => {
  const mongoose = app.mongoose
  const EtcStationRealTimeSchema = new mongoose.Schema({
    时间: { type: String, unique: false },
    状态: [{
      ID号: { type: String, unique: false },
      丢包次数: { type: Number, unique: false },
      运行状态: { type: Number, unique: false },
      经过客车数量: { type: Number, unique: false },
      经过货车数量: { type: Number, unique: false },
      经过专项作业车数量: { type: Number, unique: false },
    }],

  })
  return mongoose.model('EtcStationRealTime', EtcStationRealTimeSchema)
}



